# SPDX-License-Identifier: GPL-2.0

config USB_BDC_UDC
	tristate "Broadcom USB3.0 device controller IP driver(BDC)"
	depends on USB_GADGET && HAS_DMA
	default ARCH_BRCMSTB

	help
	BDC is Broadcom's USB3.0 device controller IP. If your SOC has a BDC IP
	then select this driver.

	Say "y" here to link the driver statically, or "m" to build a dynamically
	linked module called "bdc".

if USB_BDC_UDC

comment "Platform Support"
config	USB_BDC_PCI
	tristate "BDC support for PCIe based platforms"
	depends on USB_PCI
	default USB_BDC_UDC
	help
		Enable support for platforms which have BDC connected through PCIe, such as Lego3 FPGA platform.
endif
